package com.wyb.moto.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wyb.moto.model.Admin;
import com.wyb.moto.model.Leave;
import com.wyb.moto.model.YouEr;

public interface LoginMapper {
	public YouEr getYeByUsername(@Param(value = "userName") String userName);

	public Admin getadminByUsername(@Param(value = "userName") String userName);

	public void saveLeave(@Param("kssj") String kssj, @Param("jssj") String jssj, @Param("qjly") String qjsy,
			@Param("yeid") String yeid, @Param("id") String id);
	public List<Leave> queryQj(@Param("searchtext") String searchtext,@Param("ym")int ym);
	
	public void deleteQj(@Param("id") String id);
	
	public void saveZhuce(@Param("name")String name,@Param("id")String id,@Param("bh")String bh,@Param("password")String password,@Param("xb")String xb,@Param("sr")String sr,@Param("username")String username,@Param("bjbh")String bjbh);
}
